<!--
 * @Author: your name
 * @Date: 2020-12-08 13:32:28
 * @LastEditTime: 2021-05-21 18:47:42
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: /medicine-web/public/index.html
-->
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="renderer" content="webkit">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <link rel="icon" href="<%= BASE_URL %>favicon.ico">
    <title><%= webpackConfig.name %></title>
	  <style>
    html, body, #app {
      margin: 0px;
      padding: 0px;
      /* min-width: 1200px; */
      min-height: 800px;
      font-size: 16px;
      background-color: #fff;
      font-family: "Microsoft YaHei";
      user-select: none;
    }
    a {
      text-decoration: none;
    }
    ul {
      padding: 0;
      margin: 0;
    }
    li {
      list-style: none;
    }
  </style>
  </head>
  <script>
    (function (doc, win) {
      var docEl = doc.documentElement
      resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize'
      recalc = function () {
        var clientWidth = docEl.clientWidth
        if (!clientWidth) return
        if (clientWidth < 1200) {
          docEl.style.fontSize = 10 + 'px'
        } else {
          docEl.style.fontSize = 16 * (clientWidth / 1920) + 'px' // 1920 => 16
        }
      }
      if (!doc.addEventListener) return
      win.addEventListener(resizeEvt, recalc, false)
      doc.addEventListener('DOMContentLoaded', recalc, false)
    })(document, window)
  </script>
  <body>
    <div id="app"></div>
  </body>
</html>
